package com.candy.excp;

public class Test01 {
    public static void main(String[] args) {
        int a=3;
        int b=0;
        int c=0;
        try {
            c=a/b;
        }catch (ArithmeticException e){
//            System.out.println(e);
            System.out.println("数不除能为0");
        } catch (Exception e) {
            System.out.println("数不除能为0");
        } finally {
            System.out.println("程序执行完毕");
        }

    }
}
